﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessPlatform.Data;

namespace BusinessPlatform.Core.BusinesObjectType
{
    /// <summary>
    /// 单据类型的对象主表的必须信息
    /// </summary>
    public interface IDocument : IDataStructure
    {
        /// <summary>
        /// 单据号
        /// 唯一值
        /// 流水号；不支持自定义
        /// 主键
        /// </summary>
        int DocumentEntry { get; set; }
        /// <summary>
        /// 单据号
        /// 唯一值
        /// 支持自定义
        /// </summary>
        string DocumentNumber { get; set; }
        /// <summary>
        /// 取消
        /// </summary>
        Enumerator.BOYesOrNo Canceled { get; set; }
        /// <summary>
        /// 手动关闭
        /// </summary>
        Enumerator.BOYesOrNo Closed { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        Enumerator.BODocStatus DocumentStatus { get; set; }
    }
}
